<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Corporate_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-corporate_name" class="form-control" name="row[corporate_name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('City')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class='control-relative'><input id="c-city" class="form-control" data-toggle="city-picker" name="row[city]" type="text"></div>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Activity_end_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-activity_end_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[activity_end_time]" type="text" value="{:date('Y-m-d')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Activity_start_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-activity_start_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[activity_start_time]" type="text" value="{:date('Y-m-d')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Total_sales_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-total_sales_price" class="form-control" step="0.01" name="row[total_sales_price]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-number" class="form-control" name="row[number]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Payment_method')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-payment_method" class="form-control selectpicker" name="row[payment_method]">
                {foreach name="paymentMethodList" item="vo"}
                    <option value="{$key}" {in name="key" value="转账"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Day')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-day" class="form-control" name="row[day]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Prepayments')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-prepayments" class="form-control" step="0.01" name="row[prepayments]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cost_quotation')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-cost_quotation" class="form-control " rows="5" name="row[cost_quotation]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Total_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-total_fee" class="form-control" step="0.01" name="row[total_fee]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cost_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cost_fee" class="form-control" step="0.01" name="row[cost_fee]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Total_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-total_price" class="form-control" step="0.01" name="row[total_price]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Total_estimated_cost')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-total_estimated_cost" class="form-control" step="0.01" name="row[total_estimated_cost]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Estimated_gross_profit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-estimated_gross_profit" class="form-control" step="0.01" name="row[estimated_gross_profit]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Total_cost')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-total_cost" class="form-control" step="0.01" name="row[total_cost]" type="number">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
